package com.yan.gulimall.product.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class Catelog2Vo {  // 二级分类Vo

    private String catalog1Id;

    private List<Catelog2Vo.Catelog3Vo> catalog3List;

    private String id;

    private String name;

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Catelog3Vo{  // 3级分类Vo
        private String catalog2Id;
        private String id;
        private String name;
    }

}
